package com.jh3502.vivo.function.dialog;

import android.content.Context;

import com.jh3502.vivo.base.BaseJson;
import com.jh3502.vivo.base.BaseModel;
import com.jh3502.vivo.net.ApiClient;
import com.jh3502.vivo.utils.SpHelper;

import retrofit2.Callback;

/**
 * @author harisucici
 * @date 2017/6/19
 */

public class BankChooseModel extends BaseModel {

    public BankChooseModel(Context context) {
        super(context);
    }

    public void findOpenBank(Callback<BaseJson> callback) {
        mCall = ApiClient.apiList.findOpenBank(SpHelper.getInstance().getToken());
        mCall.enqueue(callback);
    }

}
